package com.jy.rhin.model.body.huizhen;


import com.jy.rhin.infra.cda.XPath;
import com.jy.rhin.infra.cda.XValid;
import lombok.Getter;
import lombok.Setter;

//会诊意见
@Getter
@Setter
public class HuiZhenYJ {

    //会诊意见
    @XPath(path = "/section/entry/observation/value/text()")
    public String HUIZHENYJ;

    //会诊日期
    @XPath(path = "/section/entry/observation/effectiveTime/@value")
    public String HUIZHENRQ;

    //会诊专家姓名
    @XPath(path = "/section/entry/observation/performer/assignedEntity/assignedPerson/name/text()")
    public String HUIZHENZJXM;

    //会诊科室名称
    @XPath(path = "/section/entry/observation/performer/assignedEntity/representedOrganization/name/text()"
            , xValid = @XValid(nullable = true))
    public String HUIZHENKSMC;

    //机构代码
    @XPath(path = "/section/entry/observation/performer/assignedEntity/representedOrganization/asOrganizationPartOf/wholeOrganization/id/@extension")
    public String YEWUJGDM;

    //机构名称
    @XPath(path = "/section/entry/observation/performer/assignedEntity/representedOrganization/asOrganizationPartOf/wholeOrganization/name/text()")
    public String YEWUJGMC;
}
